{include file="style.tpl" }
<page style="font-size: 10pt; font-family: arial;" backleft="10mm" backright="10mm" backtop="10mm" backbottom="10mm"> 
	{include file="page_footer.tpl"}
	{include file="header.tpl" title="Bilan du projet au {$smarty.now|date_format:'%d %B %Y'}"}
	
	<table style="width:190mm;" align="center" cellspacing="center" cellpadding="center">
		<tr>
			<td style="width:95mm;">Nombre de rendez-vous: {count($project->meetings)}</td>
			<td style="width:95mm;">Durée de l'accompagnement: {round($project->nbDays/7)} semaines</td>
		</tr>
	</table>
		<br />
	{if isset($FORM.value) gt 0 and trim($FORM.value) != ''}
		<h2>Formations réalisées : </h2><br />
		<div class="detail">{$FORM.value}</div>
		<br /><br />
	{/if}
	{if isset($project.description) gt 0 and trim($project.description) != ''}
		<h2>Description du projet : </h2><div class="detail">
		{$project.description}</div> 
		<br /><br />
	{/if}
	<h2>Avancement du projet : </h2><br />
	<div style="page-break-after:always;text-align:center;"><img src="http://uat.harlie.fr/index.php?r=adviser/project/drawGraph&id=39&width=718&height=438" /></div><br />
</page>

<page style="font-size: 10pt; font-family: arial;" backleft="10mm" backright="10mm" backtop="10mm" backbottom="10mm"> 
{include file="page_footer.tpl"}

	<div class="done">
		<h2>Point conseiller:</h2><br />
		<div class="detail">{$CMTC.value}</div>
	</div><br />
	<div class="done">
		<h2>Point porteur:</h2><br />
		<div class="detail">{$CMTP.value}</div>
	</div><br /><br />
	<h2>Suite du projet : </h2><br />
	<div class="detail">
	{foreach item=suite key=idx from=$SUITE.values}
		<div class="suite">
		{if $SUITE.value eq $idx}
			<img src="checked.png" width="16" height="16" border="0" />
		{else}
			<img src="unchecked.png" width="16" height="16" border="0" />
		{/if} {$suite}<br />
		
		{if ($idx == 1 or $idx == 5) and $SUITE.value eq $idx}
			<div class="comment"><u>Motif :</u> {$MOTIF.value}</div>
		{/if}
		{if ($idx == 2) and $SUITE.value eq $idx}
			<div class="comment"><u>N° siret :</u> {$SIRET.value}</div>
		{/if}
		{if ($idx == 3) and $SUITE.value eq $idx}
			<div class="comment"><u>Structure de test :</u> {$STRCUT_TEST.value}</div>
		{/if}
		</div>
	{/foreach}</div>

</page>
